package com.bootdo.system.service;

import com.bootdo.system.domain.Order;

import java.util.List;
import java.util.Map;


public interface OrderService {
	
	Order get(Long id);
	
	Order getByNo(String orderNo);
	
	List<Order> list(Map<String, Object> map);
	
	List<Order> listByTime(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(Order bComments);
	
	int update(Order bComments);
	
	int remove(Long id);
	
	int batchRemove(Integer[] ids);
	
	List<Order> getOutTimeOrders();
	
	int cancelOrder(Long id);
	
	int updateOrderStatus(Long id,Long orderStatus);
}
